Integrand size = 25, antiderivative size = 116 \[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )^2} \, dx=-\frac {b c x}{2 d^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {a+b \text {arccosh}(c x)}{2 d^2 \left (1-c^2 x^2\right )}+\frac {2 (a+b \text {arccosh}(c x)) \text {arctanh}\left (e^{2 \text {arccosh}(c x)}\right )}{d^2}+\frac {b \operatorname {PolyLog}\left (2,-e^{2 \text {arccosh}(c x)}\right )}{2 d^2}-\frac {b \operatorname {PolyLog}\left (2,e^{2 \text {arccosh}(c x)}\right )}{2 d^2} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 116, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.280, Rules used = {5936, 5916, 5569, 4267, 2317, 2438, 39} \[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )^2} \, dx=\frac {2 \text {arctanh}\left (e^{2 \text {arccosh}(c x)}\right ) (a+b \text {arccosh}(c x))}{d^2}+\frac {a+b \text {arccosh}(c x)}{2 d^2 \left (1-c^2 x^2\right )}+\frac {b \operatorname {PolyLog}\left (2,-e^{2 \text {arccosh}(c x)}\right )}{2 d^2}-\frac {b \operatorname {PolyLog}\left (2,e^{2 \text {arccosh}(c x)}\right )}{2 d^2}-\frac {b c x}{2 d^2 \sqrt {c x-1} \sqrt {c x+1}} \]
[In]
[Out]
Rule 39
Rule 2317
Rule 2438
Rule 4267
Rule 5569
Rule 5916
Rule 5936
Rubi steps \begin{align*} \text {integral}& = \frac {a+b \text {arccosh}(c x)}{2 d^2 \left (1-c^2 x^2\right )}+\frac {(b c) \int \frac {1}{(-1+c x)^{3/2} (1+c x)^{3/2}} \, dx}{2 d^2}+\frac {\int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )} \, dx}{d} \\ & = -\frac {b c x}{2 d^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {a+b \text {arccosh}(c x)}{2 d^2 \left (1-c^2 x^2\right )}-\frac {\text {Subst}(\int (a+b x) \text {csch}(x) \text {sech}(x) \, dx,x,\text {arccosh}(c x))}{d^2} \\ & = -\frac {b c x}{2 d^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {a+b \text {arccosh}(c x)}{2 d^2 \left (1-c^2 x^2\right )}-\frac {2 \text {Subst}(\int (a+b x) \text {csch}(2 x) \, dx,x,\text {arccosh}(c x))}{d^2} \\ & = -\frac {b c x}{2 d^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {a+b \text {arccosh}(c x)}{2 d^2 \left (1-c^2 x^2\right )}+\frac {2 (a+b \text {arccosh}(c x)) \text {arctanh}\left (e^{2 \text {arccosh}(c x)}\right )}{d^2}+\frac {b \text {Subst}\left (\int \log \left (1-e^{2 x}\right ) \, dx,x,\text {arccosh}(c x)\right )}{d^2}-\frac {b \text {Subst}\left (\int \log \left (1+e^{2 x}\right ) \, dx,x,\text {arccosh}(c x)\right )}{d^2} \\ & = -\frac {b c x}{2 d^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {a+b \text {arccosh}(c x)}{2 d^2 \left (1-c^2 x^2\right )}+\frac {2 (a+b \text {arccosh}(c x)) \text {arctanh}\left (e^{2 \text {arccosh}(c x)}\right )}{d^2}+\frac {b \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 \text {arccosh}(c x)}\right )}{2 d^2}-\frac {b \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 \text {arccosh}(c x)}\right )}{2 d^2} \\ & = -\frac {b c x}{2 d^2 \sqrt {-1+c x} \sqrt {1+c x}}+\frac {a+b \text {arccosh}(c x)}{2 d^2 \left (1-c^2 x^2\right )}+\frac {2 (a+b \text {arccosh}(c x)) \text {arctanh}\left (e^{2 \text {arccosh}(c x)}\right )}{d^2}+\frac {b \operatorname {PolyLog}\left (2,-e^{2 \text {arccosh}(c x)}\right )}{2 d^2}-\frac {b \operatorname {PolyLog}\left (2,e^{2 \text {arccosh}(c x)}\right )}{2 d^2} \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(244\) vs. \(2(116)=232\).
Time = 0.61 (sec) , antiderivative size = 244, normalized size of antiderivative = 2.10 \[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )^2} \, dx=\frac {-b \sqrt {\frac {-1+c x}{1+c x}}+\frac {b \sqrt {\frac {-1+c x}{1+c x}}}{1-c x}+\frac {b c x \sqrt {\frac {-1+c x}{1+c x}}}{1-c x}-\frac {2 a}{-1+c^2 x^2}+\frac {b \text {arccosh}(c x)}{1-c x}+\frac {b \text {arccosh}(c x)}{1+c x}+4 b \text {arccosh}(c x)^2+4 b \text {arccosh}(c x) \log \left (1+e^{-2 \text {arccosh}(c x)}\right )-4 b \text {arccosh}(c x) \log \left (1-e^{\text {arccosh}(c x)}\right )-4 b \text {arccosh}(c x) \log \left (1+e^{\text {arccosh}(c x)}\right )+4 a \log (x)-2 a \log \left (1-c^2 x^2\right )-2 b \operatorname {PolyLog}\left (2,-e^{-2 \text {arccosh}(c x)}\right )-4 b \operatorname {PolyLog}\left (2,-e^{\text {arccosh}(c x)}\right )-4 b \operatorname {PolyLog}\left (2,e^{\text {arccosh}(c x)}\right )}{4 d^2} \]
[In]
[Out]
Time = 0.74 (sec) , antiderivative size = 254, normalized size of antiderivative = 2.19
method | result | size |
parts | \(\frac {a \left (\frac {1}{4 c x +4}-\frac {\ln \left (c x +1\right )}{2}+\ln \left (x \right )-\frac {1}{4 \left (c x -1\right )}-\frac {\ln \left (c x -1\right )}{2}\right )}{d^{2}}+\frac {b \left (-\frac {\sqrt {c x -1}\, \sqrt {c x +1}\, c x -c^{2} x^{2}+\operatorname {arccosh}\left (c x \right )+1}{2 \left (c^{2} x^{2}-1\right )}+\operatorname {arccosh}\left (c x \right ) \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )+\frac {\operatorname {polylog}\left (2, -\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )}{2}-\operatorname {arccosh}\left (c x \right ) \ln \left (1-c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )-\operatorname {polylog}\left (2, c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )-\operatorname {arccosh}\left (c x \right ) \ln \left (1+c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )-\operatorname {polylog}\left (2, -c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )\right )}{d^{2}}\) | \(254\) |
derivativedivides | \(\frac {a \left (\ln \left (c x \right )+\frac {1}{4 c x +4}-\frac {\ln \left (c x +1\right )}{2}-\frac {1}{4 \left (c x -1\right )}-\frac {\ln \left (c x -1\right )}{2}\right )}{d^{2}}+\frac {b \left (-\frac {\sqrt {c x -1}\, \sqrt {c x +1}\, c x -c^{2} x^{2}+\operatorname {arccosh}\left (c x \right )+1}{2 \left (c^{2} x^{2}-1\right )}+\operatorname {arccosh}\left (c x \right ) \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )+\frac {\operatorname {polylog}\left (2, -\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )}{2}-\operatorname {arccosh}\left (c x \right ) \ln \left (1-c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )-\operatorname {polylog}\left (2, c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )-\operatorname {arccosh}\left (c x \right ) \ln \left (1+c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )-\operatorname {polylog}\left (2, -c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )\right )}{d^{2}}\) | \(256\) |
default | \(\frac {a \left (\ln \left (c x \right )+\frac {1}{4 c x +4}-\frac {\ln \left (c x +1\right )}{2}-\frac {1}{4 \left (c x -1\right )}-\frac {\ln \left (c x -1\right )}{2}\right )}{d^{2}}+\frac {b \left (-\frac {\sqrt {c x -1}\, \sqrt {c x +1}\, c x -c^{2} x^{2}+\operatorname {arccosh}\left (c x \right )+1}{2 \left (c^{2} x^{2}-1\right )}+\operatorname {arccosh}\left (c x \right ) \ln \left (1+\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )+\frac {\operatorname {polylog}\left (2, -\left (c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )^{2}\right )}{2}-\operatorname {arccosh}\left (c x \right ) \ln \left (1-c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )-\operatorname {polylog}\left (2, c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )-\operatorname {arccosh}\left (c x \right ) \ln \left (1+c x +\sqrt {c x -1}\, \sqrt {c x +1}\right )-\operatorname {polylog}\left (2, -c x -\sqrt {c x -1}\, \sqrt {c x +1}\right )\right )}{d^{2}}\) | \(256\) |
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )^2} \, dx=\int { \frac {b \operatorname {arcosh}\left (c x\right ) + a}{{\left (c^{2} d x^{2} - d\right )}^{2} x} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )^2} \, dx=\frac {\int \frac {a}{c^{4} x^{5} - 2 c^{2} x^{3} + x}\, dx + \int \frac {b \operatorname {acosh}{\left (c x \right )}}{c^{4} x^{5} - 2 c^{2} x^{3} + x}\, dx}{d^{2}} \]
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )^2} \, dx=\int { \frac {b \operatorname {arcosh}\left (c x\right ) + a}{{\left (c^{2} d x^{2} - d\right )}^{2} x} \,d x } \]
[In]
[Out]
\[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )^2} \, dx=\int { \frac {b \operatorname {arcosh}\left (c x\right ) + a}{{\left (c^{2} d x^{2} - d\right )}^{2} x} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a+b \text {arccosh}(c x)}{x \left (d-c^2 d x^2\right )^2} \, dx=\int \frac {a+b\,\mathrm {acosh}\left (c\,x\right )}{x\,{\left (d-c^2\,d\,x^2\right )}^2} \,d x \]
[In]
[Out]